import { request, config } from 'utils';
const { api } = config;
const { applyPrinting,checkPrinting,printingList,getPrintImg,workflowHistory } = api

export async function applyPrinting1(params) {
    return request({
        url:applyPrinting,
        method:'post',
        data:params
    })
}

export async function checkPrinting1(params){
    return request({
        url:checkPrinting,
        method:'post',
        data:params
    })
}

export async function printingList1(params){
    return request({
        url:printingList,
        method:'post',
        data:params
    })
}

export async function getPrintImg1(params){
    return request({
        url:getPrintImg,
        method:"post",
        data:params
    })
}

// 打印借阅审批流程
export async function workflowHistory1 (params){
    return request({
      url:workflowHistory,
      method:'post',
      data:params
    })
  }